package cn.jinjimi.app.player;

/**
 * Created by lforxeverc on 2017/5/15.
 */

public interface XrkPlayer<D extends XrkMedia> {
    void setMediaData(D media);

    D getMediaData();

    void start();

    void stop();

    void pause();

    void seekTo(int toPosition);

    void release();

    boolean isPlaying();
}
